Optimal. Leaf size=255 \[ -\frac{5 \sqrt{a+b x+c x^2} \left (-x \left (4 a B c+4 A b c+b^2 B\right )+A \left (4 a c+b^2\right )+4 a b B\right )}{8 x}+\frac{5 \left (8 a A c^2+12 a b B c+6 A b^2 c+b^3 B\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{16 \sqrt{c}}-\frac{5 \left (A \left (12 a b c+b^3\right )+2 a B \left (4 a c+3 b^2\right )\right ) \tanh ^{-1}\left (\frac{2 a+b x}{2 \sqrt{a} \sqrt{a+b x+c x^2}}\right )}{16 \sqrt{a}}-\frac{5 \left (a+b x+c x^2\right )^{3/2} (2 a B-x (2 A c+b B)+A b)}{12 x^2}-\frac{(A-B x) \left (a+b x+c x^2\right )^{5/2}}{3 x^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.779713, antiderivative size = 255, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217 \[ -\frac{5 \sqrt{a+b x+c x^2} \left (-x \left (4 a B c+4 A b c+b^2 B\right )+A \left (4 a c+b^2\right )+4 a b B\right )}{8 x}+\frac{5 \left (8 a A c^2+12 a b B c+6 A b^2 c+b^3 B\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{16 \sqrt{c}}-\frac{5 \left (A \left (12 a b c+b^3\right )+2 a B \left (4 a c+3 b^2\right )\right ) \tanh ^{-1}\left (\frac{2 a+b x}{2 \sqrt{a} \sqrt{a+b x+c x^2}}\right )}{16 \sqrt{a}}-\frac{5 \left (a+b x+c x^2\right )^{3/2} (2 a B-x (2 A c+b B)+A b)}{12 x^2}-\frac{(A-B x) \left (a+b x+c x^2\right )^{5/2}}{3 x^3} \]
Antiderivative was successfully verified.
[In] Int[((A + B*x)*(a + b*x + c*x^2)^(5/2))/x^4,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 102.165, size = 265, normalized size = 1.04 \[ - \frac{5 \sqrt{a + b x + c x^{2}} \left (24 A a c + 6 A b^{2} + 24 B a b - x \left (24 A b c + 24 B a c + 6 B b^{2}\right )\right )}{48 x} - \frac{5 \left (a + b x + c x^{2}\right )^{\frac{3}{2}} \left (6 A b + 12 B a - x \left (12 A c + 6 B b\right )\right )}{72 x^{2}} - \frac{\left (3 A - 3 B x\right ) \left (a + b x + c x^{2}\right )^{\frac{5}{2}}}{9 x^{3}} + \frac{5 \left (8 A a c^{2} + 6 A b^{2} c + 12 B a b c + B b^{3}\right ) \operatorname{atanh}{\left (\frac{b + 2 c x}{2 \sqrt{c} \sqrt{a + b x + c x^{2}}} \right )}}{16 \sqrt{c}} - \frac{5 \left (12 A a b c + A b^{3} + 8 B a^{2} c + 6 B a b^{2}\right ) \operatorname{atanh}{\left (\frac{2 a + b x}{2 \sqrt{a} \sqrt{a + b x + c x^{2}}} \right )}}{16 \sqrt{a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(c*x**2+b*x+a)**(5/2)/x**4,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.441536, size = 270, normalized size = 1.06 \[ \frac{1}{16} \left (-\frac{2 \sqrt{a+x (b+c x)} \left (4 a^2 (2 A+3 B x)+2 a x (A (13 b+28 c x)+B x (27 b-28 c x))-x^2 \left (A \left (-33 b^2+54 b c x+12 c^2 x^2\right )+B x \left (33 b^2+26 b c x+8 c^2 x^2\right )\right )\right )}{3 x^3}+\frac{5 \left (8 a A c^2+12 a b B c+6 A b^2 c+b^3 B\right ) \log \left (2 \sqrt{c} \sqrt{a+x (b+c x)}+b+2 c x\right )}{\sqrt{c}}+\frac{5 \log (x) \left (A \left (12 a b c+b^3\right )+2 a B \left (4 a c+3 b^2\right )\right )}{\sqrt{a}}-\frac{5 \left (A \left (12 a b c+b^3\right )+2 a B \left (4 a c+3 b^2\right )\right ) \log \left (2 \sqrt{a} \sqrt{a+x (b+c x)}+2 a+b x\right )}{\sqrt{a}}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[((A + B*x)*(a + b*x + c*x^2)^(5/2))/x^4,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.022, size = 840, normalized size = 3.3 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(c*x^2+b*x+a)^(5/2)/x^4,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(5/2)*(B*x + A)/x^4,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 2.60254, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(5/2)*(B*x + A)/x^4,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (A + B x\right ) \left (a + b x + c x^{2}\right )^{\frac{5}{2}}}{x^{4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(c*x**2+b*x+a)**(5/2)/x**4,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.632427, size = 4, normalized size = 0.02 \[ \mathit{sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(5/2)*(B*x + A)/x^4,x, algorithm="giac")
[Out]